import { reactive } from "vue";
import type { FormRules } from "element-plus";

/** 自定义表单规则校验 */
export const formRules = reactive(<FormRules>{
  title: [{ required: true, message: "配置名称不能为空", trigger: "blur" }],
  basis_create_type: [
    { required: true, message: "请选择通过什么生成", trigger: "blur" }
  ]
});
